<h3>Tree1</h3>
<!-- 
    nzData            数据
    nzCheckable       节点前添加 Checkbox 复选框
    nzCheckedKeys     指定选中复选框的树节点
    nzExpandedKeys    展开指定的树节点
    nzSelectedKeys    指定选中的树节点,就是右边那个长方形
    nzClick           点击树节点触发
    nzCheckBoxChange  点击树节点 Checkbox 触发
    nzExpandChange    点击展开树节点图标触发
 -->
<nz-tree
#nzTreeComponent2
[nzData]="nodes"
nzCheckable 
[nzCheckedKeys]="defaultCheckedKeys"
[nzExpandedKeys]="defaultExpandedKeys"
[nzSelectedKeys]="defaultSelectedKeys"
(nzClick)="nzClick($event)"
(nzCheckBoxChange)="nzCheck($event)"
(nzExpandChange)="nzSelect($event)"
>
</nz-tree>

<h3>模仿写的第二个</h3>
<!-- 模仿写的第二个 -->
<nz-tree
#terminal
[nzData]="nodes2"
nzCheckable 
[nzCheckedKeys]="defaultCheckedKeys"
[nzExpandedKeys]="defaultExpandedKeys"
[nzSelectedKeys]="defaultSelectedKeys"
(nzClick)="nzClick($event)"
(nzCheckBoxChange)="nzCheck($event)"
(nzExpandChange)="nzSelect($event)"
>
</nz-tree>

<nz-alert nzType="success" nzMessage="Success Text"></nz-alert>
<nz-alert nzType="info" nzMessage="Info Text"></nz-alert>
<nz-alert nzType="warning" nzMessage="Warning Text"></nz-alert>
<nz-alert nzType="error" nzMessage="Error Text"></nz-alert>